export interface MockHandlerSummaryResult {
    projectId: string
    projectName: string
    handlerId: string
    name: string
    httpMethods: string[]
    requestUri: string
    enableStatus: number
    label: string
    updateTime: string
}

export enum HttpMethod {
    GET = "GET",
    POST = "POST",
    PUT = "PUT",
    DELETE = "DELETE",
}

export const HttpMethodOption = [
    {text: HttpMethod.GET, value: HttpMethod.GET},
    {text: HttpMethod.POST, value: HttpMethod.POST},
    {text: HttpMethod.PUT, value: HttpMethod.PUT},
    {text: HttpMethod.DELETE, value: HttpMethod.DELETE},
]

export enum EnableStatus {
    ENABLE = 1,
    DISABLE = 2,
}